The Chart component in the Scripting app provides a highly customizable interface for creating and displaying various types of charts. This documentation explains how to use the properties of the Chart view to configure axes, scales, labels, legends, and more.
chartXAxis
"automatic" | "hidden" | "visible"
chartYAxis
"automatic" | "hidden" | "visible"
chartXAxisLabel
chartYAxisLabel
chartXAxisLabel
.chartLegend
chartXScale
/ chartYScale
chartBackground
chartForegroundStyleScale
chartScrollableAxes
chartXSelection
/ chartYSelection
/ chartAngleSelection
chartScrollPositionX
/ chartScrollPositionY
The following example demonstrates the usage of multiple properties to create a fully customized chart:
This example combines axis labels, scrolling, legend, scales, foreground styles, and multiple chart types in a single Chart
container. Use it as a template for building your own charts.